package cn.bdqn.study_method_param;

//测试数组
public class TestArray {
    public static void main(String[] args){
        String[] ss = new String[2];
        double[] ds = new double[2];
        int[] is = new int[2];
        char[] cs = new char[2];

        System.out.println("String类型数组元素的默认初始值是："+ss[0]);
        System.out.println("double类型数组元素的默认初始值是："+ds[0]);
        System.out.println("int类型数组元素的默认初始值是："+is[0]);
        System.out.println("char类型数组元素的默认初始值是："+cs[0]+"!");


        String str1 = null;
        String str2 = "admin";
        //boolean b = str1.equals(str2);
        boolean b = str2.equals(str1);
        System.out.println(b);



    }
}
